<?php
/**
 * @file
 * Creates info and error message DIVs.
 *
 * Usage:
 *  - A page that wants to create info and error message DIVs should
 *    include/require this page.
 *
 * Parameter(s):
 *  - $ID_ERR_DIV  : ID of containing DIV for error message.
 *  - $ID_ERR_MSG  : ID of SPAN for error message.
 *  - $ID_INFO_DIV : ID of containing DIV for info message.
 *  - $ID_INFO_MSG : ID of SPAN for info message.
 *
 * Global variable(s) set:
 *  - None.
 *
 * Global variable(s) unset:
 *  - None.
 *
 * Exception(s):
 *  - None.
 *
 * This file includes/requires:
 *  - h_deed.php
 */

// header file(s) ==============================================================
require_once "h_deed.php";


// implementation ==============================================================
// error message
?>
<div class="ui-widget">
  <div id="<?php echo $ID_ERR_DIV ?>"
       class="<?php echo CSS_GROUP_DIV_ERR ?>"
       style="<?php echo STYLE_MSG ?>"
  >
    <p>
      <span class="<?php echo ICON_ERR ?>"
            style="<?php echo STYLE_MSG_ICON ?>"
      ></span>
      <span id="<?php echo $ID_ERR_MSG ?>">&nbsp;</span>
    </p>
  </div>
</div>
<?php // highlight message ?>
<div class="ui-widget">
  <div id="<?php echo $ID_INFO_DIV ?>"
       class="<?php echo CSS_GROUP_DIV_INFO ?>"
       style="<?php echo STYLE_MSG ?>"
  >
    <p>
      <span class="<?php echo ICON_INFO ?>"
            style="<?php echo STYLE_MSG_ICON ?>"
      ></span>
      <span id="<?php echo $ID_INFO_MSG ?>">&nbsp;</span>
    </p>
  </div>
</div>
